/*
 * @Author: 刘经标 2604132672@qq.com
 * @Date: 2025-04-15 10:18:27
 * @LastEditors: 刘经标 2604132672@qq.com
 * @LastEditTime: 2025-04-15 10:18:43
 * @FilePath: /ai-assistant-frontend/src/pages/HomePage.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Button, Container, Box, Typography } from '@mui/material';
import { useNavigate } from 'react-router-dom';

export const HomePage = () => {
  const navigate = useNavigate();

  return (
    <Container maxWidth="sm">
      <Box 
        display="flex" 
        flexDirection="column" 
        alignItems="center" 
        justifyContent="center" 
        minHeight="80vh"
        textAlign="center"
      >
        <Typography variant="h3" gutterBottom>
          欢迎使用 AI 助手
        </Typography>
        <Typography variant="body1" paragraph>
          这是一个基于 DeepSeek API 的智能聊天助手
        </Typography>
        <Button 
          variant="contained" 
          size="large" 
          onClick={() => navigate('/chat')}
          sx={{ mt: 3 }}
        >
          开始聊天
        </Button>
      </Box>
    </Container>
  );
};